<template>
  <div id="app">
    <!-- <nav>
      <router-link to="/HomeView">主页</router-link> |
      <router-link to="/AboutView">详情页</router-link>
    </nav> -->
    <!-- <button @click="GoHome">主页</button>
    <button @click="GoAbout">详情页</button> -->
    <router-view/>
  </div>
</template>


<script>
export default{
  name:'App',
  methods:{
    GoHome(){
      this.$router.push('/')
    },
    GoAbout(){
      this.$router.push('/AboutView')
    },
  }
}
</script>


<style>

</style>
